getZoneRefinedCRSVertices

Module: dggal
Class: DGGRS

Array<Pointd> getZoneRefinedCRSVertices(DGGRSZone zone, CRS crs, int edgeRefinement)

Description

Return the vertices of a DGGRS zone (in a particular CRS or the default CRS), including intermediate points refining the geometry of the zone suitable for accurately representing this geometry

Parameters

zone  DGGRSZone  The zone for which to return refined vertices 
crs  CRS  The CRS in which the coordinates of the refined vertices are to be returned (0 for the default) 
edgeRefinement  int  The number of refined vertices per zone edge (0 for automatic refinement based on the zone refinement level, resulting in more refinement vertices at coarser refinement levels) 
 
Return Value Array<Pointd An array containing the refined vertices 

Remarks


Custom edgeRefinement is currently only supported for ISEA3H and WGS84 CRSs.
This function also adds extra vertices based on how the selected CRS wraps around allowing to render the zone geometry correctly.